package asteroids.model.programs.type;

public class Bool extends T {

	private boolean value;
	
	public Bool(boolean bool) {
		value = bool;
	}
	
	public boolean getValue() {
		return value;
	}
	
	public void setValue(T type){
		if(type instanceof Bool)
			this.value =  ((Bool)type).getValue();
	}
	
	public void print(){
		System.out.println(getValue());
	}

}
